package com.example.transactionhintassistant.service;

import com.example.transactionhintassistant.pojo.dto.memo.AddMemoDto;
import com.example.transactionhintassistant.pojo.dto.memo.ChangeMemoDto;
import com.example.transactionhintassistant.pojo.entity.Memo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.transactionhintassistant.utils.result.Result;

/**
* @author 86147
* @description 针对表【memos(备忘录表)】的数据库操作Service
* @createDate 2024-03-04 22:32:13
*/
public interface MemosService extends IService<Memo> {
    Result<Object> getMyMemos();
    Result<Object> deleteMemoById(int id);
    Result<Object> changeMyMemo(ChangeMemoDto changeMemoDto);
    Result<Object> addMemo(AddMemoDto addMemoDto);
    Result<Object> getMemoDetailById(int id);
}
